package com.wordpress.fatecode.model;

import java.util.List;

public interface DAO <E>{
	public abstract void salvar(E e);
	public abstract void alterar(E e);
	public abstract void excluir(long id);
	public abstract E buscar(long id);
	public abstract List<E> listar();
	public abstract void cadastrar(E e);
	public abstract void close();
	
}
